#pragma once
#include "GUI.h"
#include "staticimg.h"

class GUI_API CAniImag :
	public StaticImg
{
public:
	CAniImag(const WCHAR * szBmpName,RECT rct,const WCHAR * name,int num);
	virtual~CAniImag(void);
	bool m_bEnble;
	virtual void acceptVisitor(IVisitor ** visitor);
public:
	virtual void draw(HDC * hdc);
	virtual void setEnble(bool bEnble){m_bEnble=bEnble;}
	int m_nCount;
	int m_index;
};


class GUI_API CSMSAni : public CAniImag
{
	CSMSAni(const WCHAR * szBmpName,RECT rct,const WCHAR * name,int num);
public:
	static CSMSAni* m_pInstance;
	static CSMSAni* getInstance(const WCHAR * szBmpName,RECT rct,const WCHAR * name,int num);
	//virtual void draw(HDC * hdc);

};
